{% load staticfiles %}

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link rel="shortcut icon" href="{% static 'images/logo.png' %}" type="image/x-icon">
    <link rel="icon" href="{% static 'images/logo.png' %}" type="image/x-icon">
    <link rel="stylesheet" href="{% static 'css/login.css' %}">
    <title>登录页面</title>
</head>

<body>

    <div class="login">
        <img src="{% static 'images/logo.jpg' %}" alt="">
        <h1>思华云忆</h1>
        {% if message %}
            <span>{{ message }}</span>
        {% endif %}
        <form class="form" method="post">
            <input type="text" name='username' placeholder="请输入用户名">
            <input type="password" name='password' placeholder="请输入密码">
            <button type="submit" class="but" id="login-button">登录</button>
            {% csrf_token %}
        </form>
        <p>版权所有@思华云忆</p>
    </div>
    
    <script src="{% static 'js/jquery-3.3.1.min.js' %}"></script>
    <script src="{% static 'js/layui.js' %}"></script>
    <script src="{% static 'js/user_manage.js' %}"></script>

</body>

</html>
